<div id="tabs">
	<ul>
        <li  ><?php echo $this->Html->link(__('Ds các thông báo', true), array( 'action' => 'index')); ?> </li>
        <li  ><?php echo $this->Html->link(__('Tạo nội dung mới', true), array( 'action' => 'add')); ?> </li>
 	
 	</ul>
</div>
<div class="khfiles">
<h2><?php  __('Thông tin chi tiết');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Đơn vị'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Donvi']['tendonvi']; ?>
			&nbsp;
		</dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Người tạo'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Nhanvien']['manv'].'- '.$khfile['Nhanvien']['tennv']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tiêu đề'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Khfile']['tieude']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nội dung'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Khfile']['noidung']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thời điểm tạo'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Khfile']['ngaytao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tên file'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Khfile']['tenfile']; ?>
			&nbsp;
		</dd>
		
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loại file'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khfile['Khfile']['kieu']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Độ lớn (KB)'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo number_format($khfile['Khfile']['dolon']/1024,2,',','.'); ?>
			&nbsp;
		</dd>
        <dt>  <?php
	echo $html->link(__('Download', true), array(
                 'action' => 'download',                
                 $khfile['Khfile']['id']
            ));
?></dt>
	</dl>
</div>